package com.ps.domain;

import lombok.*;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Recharge {  //账户金额变动属性类

  private long id;            //id
  private long aid;           //账户id
  private double money;       //金额
  private String payMethod;   //支付方式 1.微信，2.支付宝，3.账户余额
  private String time;        //时间
  private String type;        //类型 1.充值，2.押金，3.骑行支付
  private String state;        //状态 1.待支付，2.支付成功

  public Recharge(long aid, double money, String payMethod, String type, String state) {
    this.aid = aid;
    this.money = money;
    this.payMethod = payMethod;
    this.type = type;
    this.state = state;
  }
}
